package com.zzyk.main.model.pojo;

import com.alibaba.fastjson.annotation.JSONField;

public class MqttMessage {
    @JSONField(name = "client")
    private String client;
    @JSONField(name = "qos")
    private Integer qos;
    @JSONField(name = "retain")
    private boolean retain;
    @JSONField(name = "topic")
    private String topic;
    @JSONField(name = "payload")
    private String payload;

    public String getClient() {
        return client;
    }

    public void setClient(String client) {
        this.client = client;
    }

    public Integer getQos() {
        return qos;
    }

    public void setQos(Integer qos) {
        this.qos = qos;
    }

    public boolean isRetain() {
        return retain;
    }

    public void setRetain(boolean retain) {
        this.retain = retain;
    }

    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public String getPayload() {
        return payload;
    }

    public void setPayload(String payload) {
        this.payload = payload;
    }
}
